/**
 * 
 */
package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.TableResult;
import com.py.credit.utils.elasticsearch.EsPage;
import com.py.framework.core.common.Page;

/**
 * @author zhuzh
 *
 */
public interface ZwcxSearchService {
	List<Map<String, Object>> getByConditionForPage(String kId, List<String> showColumns,
			String[] additionalColumns, String condition, Page page);

	List<Map<String, Object>> getSharingSearchHistoryList(long userId, String kId);

	Map<String, Object> getUniqueList(Map<String, Object> map);

	List<Map<String, String>> getSubjectLsitForPage(String kId, String input, Page page);

	List<Map<String, String>> getKeyWordsByEs(String kId, String input, EsPage esPage);

	void addHistory(String tybm, String kId, long id);

	List<TableResult> assembleTableComponent(List<TableResult> list);

	List<Map<String, String>> getKeyWords(String kId, String input);
}
